package com.xci.core.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 吕艳阳
 */
@Data
@ApiModel(description = "简单用户对象")
public class SysUserSimple {
    /**
     * 用户主键
     */
    @ApiModelProperty(value = "用户主键", required = true, position = 1)
    private String id;

    /**
     * 用户姓名
     */
    @ApiModelProperty(value = "用户姓名", required = true, position = 2)
    private String name;

    /**
     * 简拼
     */
    @ApiModelProperty(value = "简拼", position = 3)
    private String spell;

    /**
     * 账号
     */
    @ApiModelProperty(value = "账号", required = true, position = 4)
    private String account;

    /**
     * 机构主键
     */
    @ApiModelProperty(value = "机构主键", required = true, position = 5)
    private String deptId;

    /**
     * 机构名称
     */
    @ApiModelProperty(value = "机构名称", required = true, position = 6)
    private String deptName;

    /**
     * 角色主键
     */
    @ApiModelProperty(value = "角色主键", required = true, position = 7)
    private String roleId;

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称", required = true, position = 8)
    private String roleName;
}